//
//  InputTempletTwoTableViewCell.h
//  CedarFinancePH
//
//  Created by menchao on 2018/3/29.
//  Copyright © 2018年 cedarhd. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TableViewInputTempletBlock.h"

/**
 1个输入框，带有标题 带有placeholder,右view可以自定义
 */
@interface InputTempletTwoTableViewCell : UITableViewCell

@property (nonatomic,copy) NSString *cellTitle;

@property (nonatomic,assign) BOOL isPassword;
@property (nonatomic,copy) NSString *placeholder;
@property (nonatomic,strong) UITextField *inputTextField;
@property (nonatomic,copy) InputTextChangeBlock textChangeBlock;
@property (nonatomic,assign) NSInteger inputMaxLength;//最大输入长度

@property (nonatomic,assign) BOOL showError;


- (void)setRightView:(UIView *)rightView size:(CGSize)size;
- (void)setRightView:(UIView *)rightView size:(CGSize)size marginY:(CGFloat)marginY;

+ (CGFloat)heightForCell;

@end
